{layout name="layout" /}
<form id="form" action="{url('plus_exam/school/edit')}" method="post">
    <input type="hidden" name="id" value="{$info.id}" />
    <table class="formtable">
        <tr>
            <th>选择题库:</th>
            <td>
                <select id="xxx" class="select" name="category_id" datatype="s">
                    {volist name="category_list" id="rs"}
                    <option value="{$rs.id}" {if condition="$info.category_id == $rs.id" }selected="selected" {/if}> {$rs.name} </option>
                    {/volist}
                </select>
            </td>
        </tr>
        <tr>
            <th>考场名称:</th>
            <td><input class="input w300" datatype="*" type="text" name="name" value="{$info.name}" /> </td>
        </tr>
        <tr>
            <th>开考时间:</th>
            <td>
                <input class="input w150 ui-time" datatype="date" type="text" name="start_time" value="{$info.start_time}" /> -
                <input class="input w150 ui-time" datatype="date" type="text" name="end_time" value="{$info.end_time}" /> </td>
        </tr>
        <tr>
            <th>允许考试:</th>
            <td><input class="input w60" datatype="n" type="text" name="is_repeat" value="{$info.is_repeat}" /> 次 </td>
        </tr>
        <tr>
            <th>考试时限:</th>
            <td><input class="input w60" datatype="n" type="text" name="lock_time" value="<?php echo $info['lock_time']/60;?>" /> 分 </td>
        </tr>
        <tr>
            <th>交卷限时:</th>
            <td><input class="input w60" datatype="n" type="text" name="start_lock_time" value="<?php echo $info['start_lock_time']/60;?>"
                /> 分钟内禁止交卷 </td>
        </tr>
        <tr>
            <th>题目数量:</th>
            <td>
                <input class="input w60" datatype="n" type="text" name="question_number" value="{$info.question_number}" /> 道题 </td>
        </tr>
        <tr>
            <th>每题分数:</th>
            <td><input class="input w60" datatype="n" type="text" name="one_point" value="{$info.one_point}" /> 分 </td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input type="submit" value="{$Think.lang.lang_ui_save}" class="button button-blue submit" />
                <input type="reset" value="{$Think.lang.lang_ui_reset}" class="button button-blank" />
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">Do('base', 'layer', 'form', 'date', function () { $('#form').isForm(); });</script>